<script type="text/javascript">
<?php
if(!empty($_FANWE['authoritys']))
{
	$manages = array_keys($_FANWE['authoritys']);
	$manages = implode(',',$manages);
}

$is_image_servers = 0;
if(FS('Image')->getIsServer())
	$is_image_servers = 1;
	
if(!empty($_FANWE['cookie']['show_zone_follow']))
{
	echo 'jQuery(function($){$.colorbox({href:SITE_PATH+\'services/service.php?m=index&a=guide\',width:800,height:600});});';
	fSetCookie('show_zone_follow','');
}
if($_FANWE['cookie']['Show_Bind_Change'] == 1)
{
	echo 'jQuery(function($){$.Show_Bind_Change();});';
        setcookie('Show_Bind_Change','2');
        fSetCookie('Show_Bind_Change','2');
        setcookie('Is_Show_Bind_Change','1');
        fSetCookie('Is_Show_Bind_Change','1');
}

?>
var MANAGES = "{$manages}";
var IS_IMAGE_SERVERS = {$is_image_servers};
var SHARE_IMAGE_SAVE_TYPE = {$_FANWE['setting']['share_image_save_type']};
var SHARE_PHOTO_MAX_SIZE = {$_FANWE['setting']['max_upload']};
</script>
<?php
if(!empty($_FANWE['cookie']['dynamic_script']))
{
	echo stripslashes($_FANWE['cookie']['dynamic_script']);
	fSetCookie('dynamic_script','');
}
?>
<!--{loop $_FANWE['delay_scripts'] $delay_script}-->
<script type="text/javascript" src="{$delay_script}"></script>
<!--{/loop}-->